package com.ellison.springdemo.springbase.aop.interceptor;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

/**
 * @author ellisonpei
 */
//@Component
public class CostumeInterceptor implements MethodInterceptor {

    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {
        System.out.println("=======全局拦截========");

        return invocation.proceed();
    }
}
